Skip to content

Conversation

@DarkDimius
Copy link
Contributor

No description provided.

Scalac in some location(assigns for example) assumes that tree is a Select.
In dotty it could also be an Ident.
Simulate this.
Fixes scala#477
It is known to return an actual Select.
@DarkDimius
Copy link
Contributor Author

@smarter please review.

@DarkDimius
Copy link
Contributor Author

ahh. needs to be merged after #479, as it relies on behavior introduced there.

Common interface with scalac tries not to load it it wasn't loaded already.
We need it.
This update allows to have non-static lambdas.
It doesn't mean that we should emit such,
as they are potential memory leak. See scala#480
Fixes scala#470
@DarkDimius
Copy link
Contributor Author

@odersky, please update your dependencies: https://repo1.maven.org/maven2/me/d-d/scala-compiler/2.11.5-20150416-144435-09c4a520e1/scala-compiler-2.11.5-20150416-144435-09c4a520e1.jar
This update allows to have non-static implementations of SAMs.

@smarter
Copy link
Member

smarter commented Apr 16, 2015

Lgtm

DarkDimius added a commit that referenced this pull request Apr 16, 2015
@DarkDimius DarkDimius merged commit 85b48de into scala:master Apr 16, 2015
@allanrenucci allanrenucci deleted the fix-java8-alt branch December 14, 2017 19:20
tgodzik added a commit to tgodzik/scala3 that referenced this pull request Jul 23, 2025
Backport "Exclude named parameters inlay hints for java defined" to 3.3 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants